package com.authine.cloudpivot.ext.dto.query;


import com.authine.cloudpivot.ext.Enum.InvoiceBusinessType;
import com.authine.cloudpivot.ext.Enum.OriginIDType;
import com.authine.cloudpivot.ext.Enum.TradeDirection;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.Collection;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@SuperBuilder
@Schema(description = "发票申请单")
public class IdType implements Serializable {

    private static final long serialVersionUID = -8122869711844647821L;
    /**
     * 对外提供可以创建发票的方式
     */
    @Schema(description = "对外提供可以创建发票的ID类型,必传", required = true)
    private OriginIDType ways;
    @Schema(description = "业务类型", required = true)
    private InvoiceBusinessType businessType;
    @Schema(description = "ID列表", required = true)
    private Collection<String> ids;
    @Schema(description = "交易方向")
    private TradeDirection direction;
}
